package com.chase.framerwork.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

import org.apache.log4j.Logger;

/**
 * 启动系统Listener
 * 
 * @author Chase date 2013-9-17
 */
@WebListener
public class StartSystemListener implements ServletContextListener
{
	private static final Logger log = Logger.getLogger(StartSystemListener.class);
	
	@Override
	public void contextInitialized(ServletContextEvent sce)
	{
		log.info("系统正在启动中...");
		
		
		log.info("系统初始化完成...");
	}

	@Override
	public void contextDestroyed(ServletContextEvent sce)
	{
		//destory(sce);
		log.info("系统关闭中...");
	}
    
}
